//
//  Comman.swift
//  Weibo
//
//  Created by itcast on 17/3/22.
//  Copyright © 2017年 itcast. All rights reserved.
//

import UIKit

//  通知名
let EMOJINOTIFI = "EMOJINOTIFI"
let DELETEBTNCLICK = "DELETEBTNCLICK"

//登陆授权配置信息
let client_id = "264658967"
let redirect_uri = "http://www.baidu.com"
let client_secret = "59e636532970fb91ed80ece45bda7b00"

//屏幕尺寸
let ScreenWidth: CGFloat = UIScreen.main.bounds.width
let ScreenHeight: CGFloat = UIScreen.main.bounds.height


// 随机颜色
func randomColor() -> UIColor{
    let r = CGFloat(arc4random()%256)
    let g = CGFloat(arc4random()%256)
    let b = CGFloat(arc4random()%256)
    return UIColor(red: r/255, green: g/255, blue: b/255, alpha: 1)
}
